package com.twentyOne.ClothingLand.service.impl;

import java.util.List;

import com.twentyOne.ClothingLand.dao.ISizeDAO;
import com.twentyOne.ClothingLand.dao.impl.SizeDAO;
import com.twentyOne.ClothingLand.service.ISizeService;
import com.twentyOne.ClothingLand.vo.Size;

public class SizeService implements ISizeService {

	private ISizeDAO sizeDAO = new SizeDAO();
	
	@Override
	public void addSize(Size size) {
		
		this.sizeDAO.addSize(size);
		
	}

	@Override
	public void deleteSize(Size size) {
		
		this.sizeDAO.deleteSize(size);
		
	}

	@Override
	public void modifySize(Size size) {
		
		this.sizeDAO.modifySize(size);
		
	}

	@Override
	public List<Size> searchAllSize() {
		
		return this.sizeDAO.searchAllSize();
		
	}

}
